
Replication archive for:
Graeme Blair, Alexander Coppock, and Macartan Humphreys, Research Design in the Social Sciences: Declaration, Diagnosis, and Redesign. Princeton University Press (2023).

Contents:

(1) code/declarations

- This folder includes the code used to declare each design used in the book, using the same numbering scheme as in the book.

(2) code/diagnoses

- This folder includes the code used to run each diagnosis printed in the book. The outputs from these files are included in diagnoses_objects.

(3) code/figures

- This folder includes the code used to create figures used in the book, often using the output from the diagnoses.

(4) code/utilities

- Code used in generating figures of DAGs.

(5) data

- Datasets used in book examples and exercises. Please note that all these data are available in the rdss package on CRAN, but include the datasets here for archival purposes.

(6) diagnosis_objects

- This folder includes the saved diagnosis objects created from running each code file in code/diagnoses. Please note that some of the diagnosis code files do not include fixed random seeds, so though the results will be very similar when you run them, they may differ by a small amount.

(7) figures

- This folder contains the figures generated by the code in code/figures in PDF format.